package com.webside.front.common.mapper;
 

import java.util.Date;
import java.util.HashMap;
import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.webside.base.basemapper.BaseMapper;
import com.webside.front.common.model.AdvertisementEntity;
 
 

public interface AdvertisementMapper extends BaseMapper<AdvertisementEntity, Long> {
  
	List<HashMap<String,Object>> queryAdByAll(@Param("date")String date,@Param("code")String code);
  
	List<AdvertisementEntity> selectAdByPosition(@Param("date")Date date,@Param("code")String positionCode);
}